﻿using MediatR;

namespace Customer.API.Applcation.Command.FinanceCommand
{
    /// <summary>
    /// 新增实收中介者
    /// </summary>
    public class ADDPaymentCommand:IRequest<int>
    {
        /// <summary>
        /// 实收表ID
        /// </summary>
        public int PaymentId { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 付款机构
        /// </summary>
        public string? PaymentName { get; set; }
        /// <summary>
        /// 付款方式
        /// </summary>
        public int FinanceTypeId { get; set; }
        /// <summary>
        /// 最后付款日
        /// </summary>
        public DateTime? PaymentTime { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal? PaymentPrice { get; set; }
        /// <summary>
        /// 剩余金额
        /// </summary>
        public decimal? ResidueMoney { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? PaymentRemark { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; } = DateTime.Now;
    }
}
